package pojo;

import java.math.BigDecimal;

public class Goodinfo {
    private Integer id;

    private String goodname;

    private String othername;

    private BigDecimal price;

    private Integer categoryid;

    private String pdate;

    private String gimg;

    private String gcolor;

    private String gsize;

    private String des;

    private BigDecimal discount;

    private String poststate;

    private String postorder;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGoodname() {
        return goodname;
    }

    public void setGoodname(String goodname) {
        this.goodname = goodname == null ? null : goodname.trim();
    }

    public String getOthername() {
        return othername;
    }

    public void setOthername(String othername) {
        this.othername = othername == null ? null : othername.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getCategoryid() {
        return categoryid;
    }

    public void setCategoryid(Integer categoryid) {
        this.categoryid = categoryid;
    }

    public String getPdate() {
        return pdate;
    }

    public void setPdate(String pdate) {
        this.pdate = pdate == null ? null : pdate.trim();
    }

    public String getGimg() {
        return gimg;
    }

    public void setGimg(String gimg) {
        this.gimg = gimg == null ? null : gimg.trim();
    }

    public String getGcolor() {
        return gcolor;
    }

    public void setGcolor(String gcolor) {
        this.gcolor = gcolor == null ? null : gcolor.trim();
    }

    public String getGsize() {
        return gsize;
    }

    public void setGsize(String gsize) {
        this.gsize = gsize == null ? null : gsize.trim();
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des == null ? null : des.trim();
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public String getPoststate() {
        return poststate;
    }

    public void setPoststate(String poststate) {
        this.poststate = poststate == null ? null : poststate.trim();
    }

    public String getPostorder() {
        return postorder;
    }

    public void setPostorder(String postorder) {
        this.postorder = postorder == null ? null : postorder.trim();
    }
}